<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>SpringBoot 文件上传</title>
</head>
<body>
<form method="post" action="/upload" enctype="multipart/form-data">
    <p>
        文件<input type="file" name="file">
    </p>
    <p>
        <input type="submit" value="上传">
    </p>
</form>

</body>
</html>